using System;


namespace WebCamDeskLib
{
    public class WebCam
    {
        public WebCam()
        {

        }
        public string Description { get; set; }
        public string Adress { get; set; }
        public string Picture { get; set; }
        public int Refresh { get; set; }
        public string PicSize { get; set; }
        public int SortOrder { get; set; }
        public bool Active { get; set; }
        public int Rating { get; set; }
        public string Land { get; set; }
        public string Ort { get; set; }

        public override string ToString() 
        {
            return this.Description;
        }

        public string ToLine()
        {
            string s;
            s = Description + ',' + Adress + ',' + Picture + ',' + Refresh.ToString() + ',' + PicSize + ',' + SortOrder.ToString() + ',' + Active.ToString() +
                ',' + Rating.ToString() + ',' + Land + ',' + Ort;
            return s;
        }
    }
}
